<%@ page language="java" pageEncoding="utf-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
System.out.println("score table testid:"+request.getParameter("testId"));
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <base href = "<%=basePath %>"/>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script language="javascript" src="js/AjaxRequest.js"></script>
<script language="javascript">
  function viewStuScores()
    { 
       var loader = new net.AjaxRequest("gradeManagement.do?action=stuScores2",showDetail,onerror,"Get");
    }
    function showDetail()
    {       
        document.getElementById("mydetail2").innerHTML = this.req.responseText;
    }
   window.onload=viewStuScores();
</script>
  </head>
  
  <body>
    <table width="483" border="1" cellpadding="2" cellspacing="2" id="mydetail2"  style=" color:#000000">
    </table>
  </body>
</html:html>
